-- GENERATED SPELL FOR [Lurking Basilisk] --


function spell0_28145(pUnit, Event) --@Venomous Bite,n/a--
pUnit:FullCastSpellOnTarget(54470,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_28145', 9000, 1)
end

function Sorts_28145(pUnit, Event)
local choix_sorts_28145 = math.random(0, 0)
if choix_sorts_28145 == 0 then
pUnit:RegisterEvent('spell0_28145', 1, 1)
end
end

function mob28145_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_28145', math.random(1500, 3000), 1)
end

function mob28145_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28145_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28145_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(28145, 1, 'mob28145_Action')
RegisterUnitEvent(28145, 2, 'mob28145_Leave')
RegisterUnitEvent(28145, 3, 'mob28145_Kill')
RegisterUnitEvent(28145, 4, 'mob28145_Die')
